package com.tdd;

import java.math.BigDecimal;

public class Plus implements Operation {
	/* (non-Javadoc)
	 * @see com.tdd.Operation#operate(com.tdd.HpStack)
	 */
	public void operate(HpStack values) {
		BigDecimal rhs = values.pop();
		BigDecimal lhs = values.pop();
		BigDecimal result = lhs.subtract(rhs);
		values.push(result);
	}
}
